<!DOCTYPE html>
<html lang="ch" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="inc :: header('用户管理编辑')" />
</head>
<body>
<form id="dataForm" class="layui-form layui-form-pane" style="margin: 10px">
    <input type="hidden" name="id" th:value="${user.id}"/>
    <div class="layui-form-item">
        <label class="layui-form-label">用户名称</label>
        <div class="layui-input-inline">
            <input type="text" name="userName" class="layui-input" placeholder="请输入中文名字" th:value="${user.userName}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">登录名称</label>
        <div class="layui-input-inline">
            <input type="text" name="loginName" readonly class="layui-input" placeholder="请输入6位登录名称" th:value="${user.loginName}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">联系方式</label>
        <div class="layui-input-inline">
            <input type="text" name="mobile" class="layui-input" placeholder="请输入11位手机号码" th:value="${user.mobile}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">电子邮箱</label>
        <div class="layui-input-inline">
            <input type="text" name="email" class="layui-input" placeholder="请输入正确的电子邮箱" th:value="${user.email}"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">微信号</label>
        <div class="layui-input-inline">
            <input type="text" name="wecat" readonly class="layui-input" placeholder="请点击绑定微信" th:value="${user.wecat}"/>
        </div>
    </div>
</form>
<script>
    layui.use('form',function () {

    })
</script>
</body>
</html>